FROM nginx:latest
MAINTAINER CV
ENV TZ=Asia/Shanghai
ENV GW_PATH=10.90.12.181 \
    GW_PORT=9213
ADD nginx.conf   /etc/nginx/nginx.conf
ADD default.conf.template   /etc/nginx/conf.d/default.conf.template
COPY docker-entrypoint.sh /
RUN    chmod 777 /docker-entrypoint.sh && sh /docker-entrypoint.sh

ADD dist /usr/share/nginx/html
EXPOSE 80